Package com.cisco.pt.ipc.sim.pdu.impl
Class PagpFrameImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
com.cisco.pt.ipc.sim.pdu.impl.PduImpl
com.cisco.pt.ipc.sim.pdu.impl.PagpFrameImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected MACAddressprotected intprotected intprotected Byteprotected intprotected Byteprotected EthChannelModeprotected Byteprotected MACAddressprotected intprotected intprotected Byteprotected intprotected Byteprotected Stringprotected ByteFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) getFieldType(String fieldName) intintintgetMode()intintintvoidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetDeviceName(String deviceName) voidsetLocalDevId(MACAddress localDevId) voidsetLocalGroupCapability(int localGroupCapability) voidsetLocalGroupIndex(int localGroupIndex) voidsetLocalLearnCapability(Byte localLearnCapability) voidsetLocalPortIndex(int localPortIndex) voidsetLocalPriority(Byte localPriority) voidsetMode(EthChannelMode mode) voidsetPartnetCount(Byte partnetCount) voidsetPartnetDevId(MACAddress partnetDevId) voidsetPartnetGroupCapability(int partnetGroupCapability) voidsetPartnetGroupIndex(int partnetGroupIndex) voidsetPartnetLearnCapability(Byte partnetLearnCapability) voidsetPartnetPortIndex(int partnetPortIndex) voidsetPartnetPriority(Byte partnetPriority) voidsetPortName(String portName) voidsetVersion(Byte version) Methods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValue
-
Field Details
-
version
-
mode
-
localDevId
-
localLearnCapability
-
localPriority
-
localPortIndex
protected int localPortIndex -
localGroupCapability
protected int localGroupCapability -
localGroupIndex
protected int localGroupIndex -
partnetDevId
-
partnetLearnCapability
-
partnetPriority
-
partnetPortIndex
protected int partnetPortIndex -
partnetGroupCapability
protected int partnetGroupCapability -
partnetGroupIndex
protected int partnetGroupIndex -
partnetCount
-
deviceName
-
portName
-
-
Constructor Details
-
PagpFrameImpl
public PagpFrameImpl()
-
-
Method Details
-
getVersion
- Specified by:
getVersionin interfacePagpFrame- Returns:
- Byte Returns a Byte
-
setVersion
- Specified by:
setVersionin interfacePagpFrame- Parameters:
version- Takes in a parameter of version
-
getMode
-
setMode
-
getLocalDevId
- Specified by:
getLocalDevIdin interfacePagpFrame- Returns:
- MACAddress Returns a MACAddress
-
setLocalDevId
- Specified by:
setLocalDevIdin interfacePagpFrame- Parameters:
localDevId- Takes in a parameter of localDevId
-
getLocalLearnCapability
- Specified by:
getLocalLearnCapabilityin interfacePagpFrame- Returns:
- Byte Returns a Byte
-
setLocalLearnCapability
- Specified by:
setLocalLearnCapabilityin interfacePagpFrame- Parameters:
localLearnCapability- Takes in a parameter of localLearnCapability
-
getLocalPriority
- Specified by:
getLocalPriorityin interfacePagpFrame- Returns:
- Byte Returns a Byte
-
setLocalPriority
- Specified by:
setLocalPriorityin interfacePagpFrame- Parameters:
localPriority- Takes in a parameter of localPriority
-
getLocalPortIndex
public int getLocalPortIndex()- Specified by:
getLocalPortIndexin interfacePagpFrame- Returns:
- int Returns a int
-
setLocalPortIndex
public void setLocalPortIndex(int localPortIndex) - Specified by:
setLocalPortIndexin interfacePagpFrame- Parameters:
localPortIndex- Takes in a parameter of localPortIndex
-
getLocalGroupCapability
public int getLocalGroupCapability()- Specified by:
getLocalGroupCapabilityin interfacePagpFrame- Returns:
- int Returns a int
-
setLocalGroupCapability
public void setLocalGroupCapability(int localGroupCapability) - Specified by:
setLocalGroupCapabilityin interfacePagpFrame- Parameters:
localGroupCapability- Takes in a parameter of localGroupCapability
-
getLocalGroupIndex
public int getLocalGroupIndex()- Specified by:
getLocalGroupIndexin interfacePagpFrame- Returns:
- int Returns a int
-
setLocalGroupIndex
public void setLocalGroupIndex(int localGroupIndex) - Specified by:
setLocalGroupIndexin interfacePagpFrame- Parameters:
localGroupIndex- Takes in a parameter of localGroupIndex
-
getPartnetDevId
- Specified by:
getPartnetDevIdin interfacePagpFrame- Returns:
- MACAddress Returns a MACAddress
-
setPartnetDevId
- Specified by:
setPartnetDevIdin interfacePagpFrame- Parameters:
partnetDevId- Takes in a parameter of partnetDevId
-
getPartnetLearnCapability
- Specified by:
getPartnetLearnCapabilityin interfacePagpFrame- Returns:
- Byte Returns a Byte
-
setPartnetLearnCapability
- Specified by:
setPartnetLearnCapabilityin interfacePagpFrame- Parameters:
partnetLearnCapability- Takes in a parameter of partnetLearnCapability
-
getPartnetPriority
- Specified by:
getPartnetPriorityin interfacePagpFrame- Returns:
- Byte Returns a Byte
-
setPartnetPriority
- Specified by:
setPartnetPriorityin interfacePagpFrame- Parameters:
partnetPriority- Takes in a parameter of partnetPriority
-
getPartnetPortIndex
public int getPartnetPortIndex()- Specified by:
getPartnetPortIndexin interfacePagpFrame- Returns:
- int Returns a int
-
setPartnetPortIndex
public void setPartnetPortIndex(int partnetPortIndex) - Specified by:
setPartnetPortIndexin interfacePagpFrame- Parameters:
partnetPortIndex- Takes in a parameter of partnetPortIndex
-
getPartnetGroupCapability
public int getPartnetGroupCapability()- Specified by:
getPartnetGroupCapabilityin interfacePagpFrame- Returns:
- int Returns a int
-
setPartnetGroupCapability
public void setPartnetGroupCapability(int partnetGroupCapability) - Specified by:
setPartnetGroupCapabilityin interfacePagpFrame- Parameters:
partnetGroupCapability- Takes in a parameter of partnetGroupCapability
-
getPartnetGroupIndex
public int getPartnetGroupIndex()- Specified by:
getPartnetGroupIndexin interfacePagpFrame- Returns:
- int Returns a int
-
setPartnetGroupIndex
public void setPartnetGroupIndex(int partnetGroupIndex) - Specified by:
setPartnetGroupIndexin interfacePagpFrame- Parameters:
partnetGroupIndex- Takes in a parameter of partnetGroupIndex
-
getPartnetCount
- Specified by:
getPartnetCountin interfacePagpFrame- Returns:
- Byte Returns a Byte
-
setPartnetCount
- Specified by:
setPartnetCountin interfacePagpFrame- Parameters:
partnetCount- Takes in a parameter of partnetCount
-
getDeviceName
- Specified by:
getDeviceNamein interfacePagpFrame- Returns:
- String Returns a String
-
setDeviceName
- Specified by:
setDeviceNamein interfacePagpFrame- Parameters:
deviceName- Takes in a parameter of deviceName
-
getPortName
- Specified by:
getPortNamein interfacePagpFrame- Returns:
- String Returns a String
-
setPortName
- Specified by:
setPortNamein interfacePagpFrame- Parameters:
portName- Takes in a parameter of portName
-
getFieldType
- Overrides:
getFieldTypein classPduImpl
-
read
Reads this object from an EncodedBuffer of raw data -
pduRead
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classPduImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classPduImpl
-